<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>图书管理系统</title>

<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<script type="text/javascript"
	src="${pageContext.request.contextPath}/js/util.js"></script>
<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/main.css">

</head>
<body>
<div id='container'>
	<h1>欢迎进入前台图书借书系统</h1>
	<a href="${pageContext.request.contextPath}">首页</a>&nbsp;&nbsp;
	<a href="${pageContext.request.contextPath}/client/CilentServlet?op=showOrders">借书记录</a>&nbsp;&nbsp;
	<a href="${pageContext.request.contextPath}/showCart.jsp">借书清单</a>&nbsp;&nbsp;
		<c:if test="${sessionScope.customer==null }">
     	 <a href="${pageContext.request.contextPath}/login.jsp">登陆</a>&nbsp;&nbsp;
    </c:if>&nbsp;&nbsp;
	<c:if test="${sessionScope.customer!=null }">
     	${sessionScope.customer.username }
     	<a href="${pageContext.request.contextPath}/client/CilentServlet?op=logout">注销</a>
     </c:if>
	<hr/>
	</div>